<?php

use Phinx\Migration\AbstractMigration;

class AddColumnFddCustomerIdInUserTable extends AbstractMigration
{
    public function up()
    {
        $this->table("user")
            ->addColumn('fdd_customer_id', 'char', ['default' => '', 'limit' => 32, 'comment' => 'FDD用户标识'])
            ->save();
    }

    public function down()
    {
        $this->table("user")->removeColumn('fdd_customer_id')->save();
    }
}
